Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when proc return type is undeclared parapoly variable #4607

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zen3ger
Copy link
Contributor

@zen3ger zen3ger commented Dec 22, 2024

Disallow the declaration of new parapoly variables in return types, when the procedure's parapoly scope is itself. This happens if e.g.: foo :: proc() -> $T.

Close #3949
Close #4294
Close #4563

Disallow the declaration of new parapoly variables in return types, when
the procedure's parapoly scope is itself. This happens if e.g.:
`foo :: proc() -> $T`.

Closes odin-lang#3949, odin-lang#4294, odin-lang#4563
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant